{% extends "foodsnroses/base.html" %}
{% comment %}
<!--
  Copyright (C) 2008 ZHENG Zhong <http://www.zhengzhong.net/>

  Created on 2008-08-15.
  $Id$
-->
{% endcomment %}

{#________________________________________________________________________________________________#}

{% block html_head %}

<title>Resto search results :: Foods N' Roses</title>
<link rel="stylesheet" type="text/css" media="screen,print" href="{{static_}}/css/resto_list.css"/>

{% endblock %}{# html_head #}

{#________________________________________________________________________________________________#}

{% block navbar %}

<b>Resto catalog</b>

{% endblock %}

{#________________________________________________________________________________________________#}

{% block content %}

<div id="resto_search_results">

  {% if name and value %}
    <div id="search_criteria">
      Found restos
      {% ifequal name "post_code" %}
        whose post code is <b>{{value|escape}}</b>
      {% endifequal %}
      {% ifequal name "city" %}
        in <b>{{value.capitalize|escape}}</b>
      {% endifequal %}
      {% ifequal name "tag" %}
         which are tagged with "<b>{{value|escape}}</b>"
      {% endifequal %}
      {% ifequal name "dish" %}
         which are good at cooking <b>{{value|escape}}</b>
      {% endifequal %}
      ...
    </div><!--/#search_criteria-->
  {% endif %}
  
  {% include "foodsnroses/include/resto_list.html" %}

</div><!--/#resto_search_results-->

<div id="pager">
  <i>#TODO: Pager</i>
</div>

{% endblock %}{# content #}

